<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="html">
<head>
  <title>DOMAssistant Test Suite</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="assets/unittest.css" type="text/css" />
  <!--[if lt IE 6]>
  <script src="assets/JSL.js" type="text/javascript"></script>
  <![endif]--> 
  <script src="assets/jsunittest.js" type="text/javascript"></script>
  <script src="assets/sugar_test.js" type="text/javascript"></script>
  <script src="assets/DOMAssistantCompressed.js" type="text/javascript"></script>
  <style type="text/css">
  	.klassZ, .klassM {
  		border: 1px dotted red;
  		font-size: 11px;
  		background-color: green;
  		display: block;
  	}
  	#foo {
  		opacity: 0;
  		filter:Alpha(opacity=0);
  	}
  </style>
</head>
<body id="body">

<div id="content">

  <div id="header">
    <h1>DOMAssistant 2.8.1 Test Suite</h1>
    <!--
    <p>
      This test is built with <a href="http://sugartest.scriptia.net/">SugarTest</a>.
    </p>
    -->
    <p>
    	<strong>Verified on:</strong> IE 5.5+, Firefox 1+, Opera 9+, Chrome 1+, Safari 3+, Netscape 7.2+
    </p>
  </div>

  <div id="testlog"></div>

<div id="testdata" style="height:1px;overflow:hidden;">

 	<form id="form1">
 		<input id="txtABC" name="abc" type="text" value="abc" />
 		<select id="selABC" name="def">
 			<option>111</option>
 			<option>222</option>
 		</select>
 		<input type="submit" value="Submit" />
 		<input type="reset" value="Reset" />
 	</form>

	<div id="test_01">
		<span name="01abc">abc_1</span>
		<span name="02abc" id="01abc">abc_2</span>
		<span name="03abc" class="klassE klassF">abc_3</span>
		<span name="04abc" class="klassZ">abc_4</span>
		<span name="05abc" class="klassM">mmm</span>
	</div>

	<div id="test_02"></div>
	
	<div id="test_03">
		<a>anchor</a>
		<input type="text" name="test_03_input_01" />
		<input type="password" name="test_03_input_02" />
		<table><tr id="test_03_tr_01"><td></td></tr><tr id="test_03_tr_02"><td></td><td></td></tr></table>
	</div>
	
	<div id="test_04"></div>
	
	<div id="test_05"></div>
	
	<div id="test_06">
		<a href="#">here</a>
		<ul>
			<li>one</li>
			<li>two</li>
			<li onclick="inline_add();">three</li>
		<ul>
		<span id="outer" class"delegation">
			<span id="inner">
				<span id="test_06_span_01">abcde</span>
			</span>
		</span>
	</div>

	<a id="test_07" onclick="inline_add();">click here</a>

	<div id="traversal">
		<!-- comment node -->
		<p>first p</p>
		<p>second p</p>
		text node
		<p>third p</p>
		more text node
		
	</div>
	
	<div id="elm_order">
		<h1 id="h1a">level 1</h1>
			<h2 id="h2a">level 2</h2>
				<h3 id="h3a">level 3</h3>
		<h1 id="h1b">level 1</h1>
			<h2 id="h2b">level 2</h2>
				<h3 id="h3b">level 3</h3>
	</div>
	
	<blockquote id="test_98">
	<dl id="extra1"> 
	  <!-- comment 1 -->
	  <dt id="dt1">First definition term that should have green background</dt> 
	    <dd id="dd1">First definition that should have green background</dd> 
	  <dt id="dt2">Second definition term</dt> 
	    <dd id="dd2">Second definition</dd> 
	  <dt id="dt3">Third definition term</dt> 
	    <dd id="dd3">Third definition</dd> 
	  <dt id="dt4">Fourth definition term that should have green background</dt> 
	    <dd id="dd4">Fourth definition that should have green background</dd> 
	  <dt id="dt5">Fifth definition term</dt> 
	    <dd id="dd5">Fifth definition</dd> 
	  <dt id="dt6">Sixth definition term</dt> 
	    <dd id="dd6">Sixth definition</dd> 
	  <!-- comment 2 -->
	</dl> 

	<dl id="extra2">
		<dt id="p1">This paragraph should have normal background</dt>
		<address id="add1" class="red">But this address should have green background</address>
		<dt id="p2">This paragraph should have normal background</dt>
	</dl>
	
	<dl id="extra3">
		<!-- the only node is a comment -->
	</dl>
	
	<div id="main">
		<p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p>

		<p id="ap">
			Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 
			<a id="groups" href="http://groups.google.com/">Google Groups</a>. 
			This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: 
			<a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>

		</p>
		<div id="foo">

			<p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>
			<p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
			<p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>

		</div>

		<p id="first">Try them out:</p>
		<ul id="firstUL"></ul>
		<ul id="secondUL"><!-- just comments --></ul>
		<ol id="empty"></ol>
		<form id="form" action="formaction">
			<input type="text" name="action" value="Test" id="text1" maxlength="30"/>
			<input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
			<input type="radio" name="radio1" id="radio1" value="on"/>

			<input type="radio" name="radio2" id="radio2" checked="checked"/>

			<input type="checkbox" name="check" id="check1" checked="checked"/>
			<input type="checkbox" id="check2" value="on"/>

			<input type="hidden" name="hidden" id="hidden1"/>
			<input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
			
			<input type="text" id="name" name="name" value="name" />
			
			<button id="button" name="button">Button</button>
			
			<textarea id="area1" maxlength="30">foobar</textarea>

			
			<select name="select1" id="select1">
				<option id="option1a" class="emptyopt" value="">Nothing</option>
				<option id="option1b" value="1">1</option>
				<option id="option1c" value="2">2</option>
				<option id="option1d" value="3">3</option>
			</select>
			<select name="select2" id="select2">

				<option id="option2a" class="emptyopt" value="">Nothing</option>
				<option id="option2b" value="1">1</option>
				<option id="option2c" value="2">2</option>
				<option id="option2d" selected="selected" value="3">3</option>
			</select>
			<select name="select3" id="select3" multiple="multiple">
				<option id="option3a" class="emptyopt" value="">Nothing</option>

				<option id="option3b" selected="selected" value="1">1</option>
				<option id="option3c" selected="selected" value="2">2</option>
				<option id="option3d" value="3">3</option>
			</select>
			
			<object id="object1" codebase="stupid">
				<param name="p1" value="x1" />
				<param name="p2" value="x2" />

			</object>
			
			<span id="&#21488;&#21271;Ta&#769;ibe&#780;i"></span>
			<span id="&#21488;&#21271;" lang="&#20013;&#25991;"></span>
			<span id="utf8class1" class="&#21488;&#21271;Ta&#769;ibe&#780;i &#21488;&#21271;"></span>
			<span id="utf8class2" class="&#21488;&#21271;"></span>
			<span id="foo:bar" class="foo:bar"></span>
			<span id="test.foo[5]bar" class="test.foo[5]bar"></span>
			
			<foo_bar id="foobar">test element</foo_bar>

		</form>
		<b id="floatTest">Float test.</b>
		<iframe id="iframe" name="iframe"></iframe>
		<form id="lengthtest">
			<input type="text" id="length" name="test"/>
			<input type="text" id="idTest" name="id"/>
		</form>
		<table id="table"></table>

		
		<div id="fx-queue" name="test">
			<div id="fadein" class='chain test' name='div'>fadeIn<div>fadeIn</div></div>
			<div id="fadeout" class='chain test out'>fadeOut<div>fadeOut</div></div>
			
			<div id="show" class='chain test'>show<div>show</div></div>
			<div id="hide" class='chain test out'>hide<div>hide</div></div>

			
			<div id="togglein" class='chain test'>togglein<div>togglein</div></div>
			<div id="toggleout" class='chain test out'>toggleout<div>toggleout</div></div>
		
			
			<div id="slideup" class='chain test'>slideUp<div>slideUp</div></div>
			<div id="slidedown" class='chain test out'>slideDown<div>slideDown</div></div>
			
			<div id="slidetogglein" class='chain test'>slideToggleIn<div>slideToggleIn</div></div>

			<div id="slidetoggleout" class='chain test out'>slideToggleOut<div>slideToggleOut</div></div>
		</div>
		
		<div id="fx-tests"></div>

		<form id="testForm" action="#" method="get">
			<textarea name="T3" rows="2" cols="15">?
Z</textarea>
			<input type="hidden" name="H1" value="x" />
			<input type="hidden" name="H2" />

			<input name="PWD" type="password" value="" />
			<input name="T1" type="text" />
			<label id="labelT2" for="T2">MyLabel: </label>
			<input name="T2" id="T2" type="text" value="YES" readonly="readonly" />
			<input type="checkbox" name="C1" value="1" />
			<input type="checkbox" name="C2" />
			<input type="radio" name="R1" value="1" />
			<input type="radio" name="R1" value="2" />
			<input type="text" name="My Name" value="me" />
			<input type="reset" name="reset" value="NO" />

			<select name="S1">
				<option value="abc">ABC</option>
				<option value="abc">ABC</option>
				<option value="abc">ABC</option>
			</select>
			<select name="S2" multiple="multiple" size="3">
				<option value="abc">ABC</option>

				<option value="abc">ABC</option>
				<option value="abc">ABC</option>
			</select>
			<select name="S3">
				<option selected="selected">YES</option>
			</select>
			<select name="S4">

				<option value="" selected="selected">NO</option>
			</select>
			<input type="submit" name="sub1" value="NO" />
			<input type="submit" name="sub2" value="NO" />
			<input type="image" name="sub3" value="NO" />
			<button name="sub4" type="submit" value="NO">NO</button>
			<input name="D1" type="text" value="NO" disabled="disabled" />
			<input type="checkbox" checked="checked" disabled="disabled" name="D2" value="NO" />

			<input type="radio" name="D3" value="NO" checked="checked" disabled="disabled" />
			<select name="D4" disabled="disabled">
				<option selected="selected" value="NO">NO</option>
			</select>
		</form>
		<div id="moretests">
			<form>
				<div id="checkedtest" style="display:none;">

					<input type="radio" name="checkedtestradios" checked="checked"/>
					<input type="radio" name="checkedtestradios" value="on"/>
					<input type="checkbox" name="checkedtestcheckboxes" checked="checked"/>
					<input type="checkbox" name="checkedtestcheckboxes" />
				</div>
			</form>
			<div id="nonnodes"><span id="hi">hi</span> there <!-- mon ami --></div>

			<div id="t2037">
				<div><div class="hidden">hidden</div></div>
			</div>
		</div>
	</div>
	</blockquote>
</div>

<div id="test_attr" style="display:none;">
	<img src="#" dashed-attribute id="dash1">
	<img src="#" dashed-attribute="" id="dash2">
	<img src="#" dashed-attribute="test" id="dash3">
</div>
  
</div>


<script type="text/javascript" src="assets/domassistant_test.js"> </script>

</body>
</html>